package net.csdn.business.common.domain.request;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * @author wanghang
 * @version 1.0
 * @date 2022/11/1 15:47
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
public class LabelDto implements Serializable {

    /**
     * 当前登录用户ID
     */
    @NotBlank(message = "userId 不能为空", groups = {System.class})
    private String crrUserId;

    /**
     * 标签ID
     */
    private String labelId;

    /**
     * 标签名称
     */
    @NotBlank(message = "label名称不能为空")
    private String labelName;

    /**
     * 标签颜色
     */
    @NotBlank(message = "label颜色不能为空")
    private String labelColor;

    /**
     * 标签描述
     */
    private String labelDesc;

    private Date createdDate;

}
